package com.luo.service.comment;

import com.luo.pojo.CommentsInfo;
import com.luo.pojo.CommentsReply;

import java.util.List;

public interface CommentService {
    List<CommentsInfo> queryInfoComments(String ownerId);

    List<CommentsReply> queryReplyComments(String ownerId);

    boolean isDeletedF(int id,String createTime);

    boolean isDeletedR(int commentId,String createTime);

    List<CommentsInfo> getOwnersAllComments(String ownerId);

    boolean isInsertedF(int type, String ownerId, int fromId, String fromName, String fromAvatar, String content);

    boolean isInsertedR(int commentId,int fromId,String fromName,String fromAvatar,int toId,String toName,String toAvatar,String content);

    List<CommentsInfo> getReplyPersonInfo(String usename);
}
